<!DOCTYPE html>
<meta charset="UTF-8">
<div style="padding: 10px">
	<input data-type="datebox" data-define="onSelect:onSelect,border:true,'width':120"></input>
</div>
<div style="padding: 10px">
	<span>选择的日期: </span> <span id="result"></span>
</div>
<script>
	function onSelect(date) {
	    $('#result').text(date)
    }
</script>
